home *** CD-ROM | disk | FTP | other *** search
/ The Very Best of Atari Inside / The Very Best of Atari Inside 1.iso / mint / mntinc20 / grp.h < prev    next >
C/C++ Source or Header  |  1992-05-15  |  522b  |  30 lines

  1. #ifndef _GRP_H
  2. #define _GRP_H
  3.  
  4. #ifndef _COMPILER_H
  5. #include <compiler.h>
  6. #endif
  7.  
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11.  
  12. struct group {
  13.     char *gr_name;
  14.     char *gr_passwd;
  15.     int  gr_gid;
  16.     char **gr_mem;
  17. };
  18.  
  19. __EXTERN void    setgrent __PROTO((void));
  20. __EXTERN void    endgrent __PROTO((void));
  21. __EXTERN struct group *    getgrent __PROTO((void));
  22. __EXTERN struct group *    getgrgid __PROTO((int gid));
  23. __EXTERN struct group * getgrnam __PROTO((char *name));
  24.  
  25. #ifdef __cplusplus
  26. }
  27. #endif
  28.  
  29. #endif /* _GRP_H */
  30.